#ifndef PLAYER_H
#define PLAYER_H

#include <QObject>
#include <QMediaPlayer>
#include <QMediaPlaylist>
#include <QList>

class MusicFile;

class Player : public QObject
{
    Q_OBJECT
public:
    explicit Player(QObject *parent = 0);

private:
    QList<MusicFile*> m_musicList;
    QMediaPlayer m_mediaPlayer;

signals:

public slots:
    void Play();
    void Pause();
    void Stop();
    void Next();
    void Pre();
    void AddMusic();
    void DelMusic();
};

#endif // PLAYER_H
